package com.iclub.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.iclub.model.ApplyFriend;
import com.iclub.model.IClubUser;


public interface IClubUserDao{
	
	public IClubUser selectIClubUser(Map<String,String> map)throws SQLException;
	
	public IClubUser checkIClubUser(Map<String,String> map)throws SQLException;
	
	public void insertIClubUser(IClubUser user)throws SQLException;
	
	public void updateUser(IClubUser user)throws SQLException;
	
	public List<IClubUser> selectFriendList(Map<String,String> map)throws SQLException;
	
	public void addFriend(Map<String,String> map)throws SQLException;
	
	public void delFriend(Map<String,String> map)throws SQLException;
	
	public void applyFriend(ApplyFriend apply) throws SQLException;
	
	public List<ApplyFriend> selectApplyFriendMsgList(Map<String,String> map)throws SQLException;
	
	public List<IClubUser> searchUserList(Map<String,String> map)throws SQLException;
}
